package com.hpe.wx.performance.redis.ctrl;

import java.util.Locale;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.hpe.wx.performance.redis.service.PerFormanceService;

@Controller
@RequestMapping(value = "/hpe/testJsOO")
public class TestJSOOCtrl {

	@Autowired
	private PerFormanceService service;

	@RequestMapping(value = "/testJsOO", method = RequestMethod.GET)
	public String getDashboard(Locale locale, Model model) {
		return "hpe/performance/testJsOO";
	}

	@RequestMapping(value = "/admin", method = RequestMethod.GET)
	public String getTestechar(Locale locale, Model model) {
		return "hpe/performance/adminPage";
	}

	@RequestMapping(value = "/guest", method = RequestMethod.GET)
	public String getGuestechar(Locale locale, Model model) {
		return "hpe/performance/guestPage";
	}

	@RequestMapping(value = "/getReport", method = RequestMethod.GET)
	public String getTestechar2(Locale locale, Model model, String jmxUrl) {
		// To-Do get datas and operating them

		return "hpe/performance/staticReport";
	}

 
}
